import 'package:flutter/material.dart';
import 'package:study_demo/base/BaseController.dart';

import '../../../widgets/scatter_chart.dart';

class ScatterDiagramController extends BaseController {
  List<ScatterPoint> data = [
    ScatterPoint(1, 80, 80, 60, '80%->60%', '1.5->1', 2, Colors.red),
    ScatterPoint(50, 60, 60, 50, '60%->50%', '1.5->1', 2, Colors.yellow),
    ScatterPoint(101, 50, 50, 40, '50%->40%', '1.5->1', 2, Colors.green),
    ScatterPoint(120, 70, 70, 60, '70%->60%', '1.5->1', 2, Colors.purpleAccent),
    ScatterPoint(
        151, 50, 50, 40, '50%->40%', '1.5->1', 2, Colors.lightGreenAccent),
    ScatterPoint(180, 50, 50, 10, '50%->40%', '1.5->1', 2, Colors.green),
    ScatterPoint(210, 50, 50, 10, '50%->40%', '1.5->1', 2, Colors.purpleAccent),
    ScatterPoint(
        240, 50, 50, 10, '50%->40%', '1.5->1', 2, Colors.lightGreenAccent),
  ];
}
